@import url(/ThirdParty/Cesium/Widgets/widgets.css);
html, body, #cesiumContainer {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
}
body{
	box-sizing: border-box;
	padding-right: 250px;
}
#cesiumContainer{
	float: left;
}
#controller{
	width: 250px;
	float: left;
	margin-left: -250px;
	position: relative;
	right: -250px;
}

#controller ul{
	padding: 0;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
ul li{
	list-style: none;
	margin: 10px 0;
}
#controller .toolbars li{
	width: 100px;
	height: 25px;
	line-height: 29px;
	border: 1px solid #ccc;
	border-radius: 3px;
	text-align: center;
	display: inline-block;
	user-select: none;
	box-shadow: 1px 1px 3px #eee, -1px -1px 3px #eee;
	font-size: 15px;
}
#controller .toolbars li:hover{
	background-color: #ccc;
	cursor: pointer;
}
#controller .toolbars li:active{
	background-color: #aaa;
}
#controller .toolbars li input{
	outline: none;
    border: none;
    width: 100%;
    padding: 0;
    height: 25px;
    padding-left: 5px;
    box-sizing: border-box;
}
#search{
	background-color: rgba(100,100,100);
}
#search input{
	width: 217px;
	height: 31px;
}
#zoomControl{
	position: absolute;
	top: 10px;
	left: 10px;
	display: none;
}
#zoomIn, #zoomOut{
	display: inline-block;
    width: 25px;
    height: 25px;
    color: #eee;
    background-color: #666;
    text-align: center;
    line-height: 25px;
	font-size: 20px;
	transition: color 0.5s, background-color 0.5s;
}
#zoomIn:hover, #zoomOut:hover{
	cursor: pointer;
	color: #ffffff;
	background-color: #555;
}
.cesium-performanceDisplay-defaultContainer{
	top: 10px;
}
/*
	弹窗部分CSS
*/
.popup{
	position: absolute;
    width: 500px;
    background-color: #fff;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 20px;
	color: #333;
	user-select: none;
}
.popup h3{
	margin-top: 0;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.popup .popup-close{
	position: absolute;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 15px;
    border-radius: 0 0 0 2px;
    color: #000;
    background-color: #eee;
    cursor: pointer;
}
.popup .popup-close::after{
	content: '+';
    color: #444;
    transform: rotate(45deg);
    display: block;
    font-size: 20px;
    height: 16px;
    line-height: 20px;
    width: 16px;
}
.popup .popup-close:hover{
	background-color: #ddd;
}
.popup .popup-close:active{
	background-color: #ccc;
}
.popup-item{
	height: 40px;
	line-height: 40px;
}
.popup-item-btns{
	text-align: right;
}
.popup-item-btns input{
	margin: 2px;
    border: 1px solid #ccc;
    color: #333;
    background-color: #eee;
	border-radius: 2px;
	outline: none;
    padding: 5px 10px;
}
.popup-item-btns input:hover{
	cursor: pointer;
	background-color: #aaa;
	color: #ffffff;
}
.popup-item-btns input:active{
	background-color: #999;
}
.popup-item input[type="text"] {
    height: 25px;
    line-height: 25px;
    padding-left: 5px;
    color: #333;
}
.popup-item  span{
	width: 80px;
	display: inline-block;
	font-size: 15px;
}
.popup-item select{
	height: 25px;
    border: 1px solid #bbb;
    color: #333;
	background-color: #eee;
	outline: none;
}
/**
	navigatin
*/
.compass{
	top: 20px;
	left: 20px;
}
.navigation-controls{
	top: 120px;
	left: 50px;
	bottom: auto !important;
}

/*
	位置元素css
*/
.position{
    position: absolute;
    left: 3px;
    bottom: 30px;
    background-color: #444;
    font-size: 12px;
    line-height: 15px;
    color: #fff;
    padding: 10px;
    opacity: 0.8;
}
.position ul,
.position li{
	list-style: none;
	margin: 0;
	padding: 0;
}
.position li{
	height: 25px;
	line-height: 25px;
}
span.position-t {
    display: inline-block;
    padding-right: 5px;
}
.distance-legend{
	right: 10px !important;
}